package com.mohansever.dao;

import java.util.List;

import com.mohansever.pojo.Article;
import com.mohansever.util.ArticlePageQuery;
import com.mohansever.util.PageData;

public interface ArticleDao {
	public void insertArticle(Article article);
	public Integer selectaLastArticleId();
	public void updteContentIds(Article article);
	public void deleteArticle(int articleId);
	public void updateArticle(Article article);
	public Integer selectRecordSizeByUserId(String userId);
	public List<PageData> selectPageList(ArticlePageQuery apq);
	public PageData getArticle(int articleId);
	public void updateArticleStatus(PageData pd);
	public void updateArticleRecommend(PageData pd);
	public void updateArticleIsOpen(PageData pd);
	public void updateArticleClass(PageData pd);
}
